package com.ef.service;

import java.util.List;

import com.ef.domain.AdChannel;
import com.ef.domain.Team;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface AdChannelService extends BaseService {

	public PaginationSupport<AdChannel> findByExample(
			CustomExample<AdChannel> example, int startIndex, int pageSize);
	
	public void saveOrUpdate(AdChannel entity);
	
	public void delete(AdChannel entity);
	
	public AdChannel findById(Long id);
	
	public List<AdChannel> findAll();
	
	public List<AdChannel> findByAnything(String qitem,int max);
	
	public List<AdChannel> findByAnythingWithTeam(Team team,String qitem, int max);
}
